package com.chen.manager.mapper;

import com.chen.model.dto.system.SysUserDto;
import com.chen.model.entity.system.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author cgj
 * @date 2/6/25 2:17 PM
 */
@Mapper
public interface SysUserMapper {
    SysUser selectSysUserByUserName(String username);
    List<SysUser> selectSysUserByPage(SysUserDto sysUserDto);

    void insertSysUser(SysUser sysUser);

    void updateSysUser(SysUser sysUser);

    void deleteUserById(Integer id);
}
